package com.tczs;

import com.alibaba.fastjson.JSONObject;
import com.tczs.client.Client;
import com.tczs.client.bean.Command;
import com.tczs.client.bean.Where;

public class StartMain {

    public static void main(String[] args){
       StartConfig.start();
//        Client client = new Client();
//        client.start("localhost",8080);
//        Command command = new Command();
//        command.setCommandName("select");
//        command.setDatabaseName("test2");
//        command.setTableName("Order");
//        Where where = new Where();
//        where.LIMIT(2L);
//        command.setWhere(where);
//        String commandStr = JSONObject.toJSONString(command);
//        client.send(commandStr);
    }
}
